package cn.sumpu.app.guoguojie.domain;

import java.io.Serializable;
import java.util.Date;

public class LuckRank implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = -2741029737124093114L;
    private String            luckid;
    private String            member;
    private String            luckdate;
    private Integer           ranknum;
    private Member            memberObj;
    private LuckTime          luckTimeObj;
    private Integer           rank;
    private Date              gmtCreated;
    private Date              gmtModified;
    private String            sortResult;
    private Integer           currentRankNum;

    public String getLuckid() {
        return luckid;
    }

    public void setLuckid(String luckid) {
        this.luckid = luckid;
    }

    public String getMember() {
        return member;
    }

    public void setMember(String member) {
        this.member = member;
    }

    public String getLuckdate() {
        return luckdate;
    }

    public void setLuckdate(String luckdate) {
        this.luckdate = luckdate;
    }

    public Integer getRanknum() {
        return ranknum;
    }

    public void setRanknum(Integer ranknum) {
        this.ranknum = ranknum;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Member getMemberObj() {
        return memberObj;
    }

    public void setMemberObj(Member memberObj) {
        this.memberObj = memberObj;
    }

    public LuckTime getLuckTimeObj() {
        return luckTimeObj;
    }

    public void setLuckTimeObj(LuckTime luckTimeObj) {
        this.luckTimeObj = luckTimeObj;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    /* public String getSortResult() {
         String text = null;
         if (!Common.empty(luckTimeObj)) {
             int d = rank - luckTimeObj.getFinanum();
             if (d <= 0) {
                 text = "您目前暂列第" + rank + "，已经入围";
             } else {
                 text = "您目前暂列第" + rank + "，离入围还差" + d + "位";
             }
         }
         return text;
     }*/

    public void setSortResult(String sortResult) {
        this.sortResult = sortResult;
    }

    public String getSortResult() {
        return sortResult;
    }

    public Integer getCurrentRankNum() {
        return currentRankNum;
    }

    public void setCurrentRankNum(Integer currentRankNum) {
        this.currentRankNum = currentRankNum;
    }

}
